package com.hetao.assist.model;

import java.io.Serializable;
import java.util.List;

public class PageData<E> implements Serializable {

    private static final long serialVersionUID = -923747095222427049L;


    private List<E> data;
    private long totalItem;
    private long totalPage;
    private long page;
    private long size;

    public List<E> getData() {
        return data;
    }

    public void setData(List<E> data) {
        this.data = data;
    }

    public long getTotalItem() {
        return totalItem;
    }

    public void setTotalItem(long totalItem) {
        this.totalItem = totalItem;
    }

    public long getPage() {
        return page;
    }

    public void setPage(long page) {
        this.page = page;
    }

    public long getSize() {
        return size;
    }

    public void setSize(long size) {
        this.size = size;
    }

    public long getTotalPage() {
        return totalPage;
    }

    public void setTotalPage(long totalPage) {
        this.totalPage = totalPage;
    }
}